/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  column: [
	  {
      label: '主键id(外键关联)',
      prop: 'id',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '产品类型',
      prop: 'type',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_productName',
    },
	  {
      label: '产品名称',
      prop: 'name'
    },
	  {
      label: '所属资金方',
      prop: 'capitalId',
      type: 'select',
      dicUrl: '/insurance/foreign/credit',
    },
	  {
      label: '一级渠道服务费',
      prop: 'oneChannelHandFee'
    },
	  {
      label: '二级渠道服务费',
      prop: 'twoChannelHandFee'
    },
	  {
      label: '首付款类型',
      prop: 'firstPayType',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_firstPayType',
    },
	  {
      label: '首付款比例',
      prop: 'firstPayment'
    },
	  {
      label: '模块id',
      prop: 'moduleId',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '还款接收账号',
      prop: 'repayReceiverAccount',
      type: 'select',
      dicUrl: '/insurance/foreign/credit'
    },
	  {
      label: '借款期数',
      prop: 'periodsNum'
    },
	  {
      label: '基础产品标识',
      prop: 'baseProductFlag'
    },
	  {
      label: '还款方式',
      prop: 'repayMethod',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_repayMethod',
    },
	  {
      label: '账单日（1.每月几号  2.无账单日）',
      prop: 'billDay'
    },
	  {
      label: '产品利率（百分比）',
      prop: 'productRate'
    },
	  {
      label: '产品利息计算方式',
      prop: 'productRateType',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_productRateType',
    },
	  {
      label: '资金利率',
      prop: 'capitalRate'
    },
	  {
      label: '还款划扣手续费',
      prop: 'repayDeductionFee'
    },
	  {
      label: '逾期罚息',
      prop: 'overdueInterest'
    },
	  {
      label: '产品创建时间',
      prop: 'createTime',
      type:"datetime",
      valueFormat:"yyyy-MM-dd HH:mm:ss",
    },
	  {
      label: '贷款比例',
      prop: 'des',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '是否代偿',
      prop: 'remarks',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_remarks',
    },
	  {
      label: '删除标记（0.显示   1.隐藏）',
      prop: 'delFlag',
      hide:true,
      addDisplay:false,
    },
  ]
}
